package com.zhiyou.app.shop.manager.action;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.zhiyou.app.shop.common.BaseAction;
import com.zhiyou.app.shop.manager.dao.pojo.UserDetail;
import com.zhiyou.app.shop.manager.service.IBaseService;

public class UserAction extends BaseAction {
	private static final long serialVersionUID = 1L;
	
	@Autowired
	private IBaseService baseService;
	private Integer type=0;
	List<UserDetail> listUser;
	public String userList(){
		listUser = baseService.test(type);
		return this.SUCCESS;
	}
	public List<UserDetail> getListUser() {
		return listUser;
	}
	public void setListUser(List<UserDetail> listUser) {
		this.listUser = listUser;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
}
